var builder = DistributedApplication.CreateBuilder(args);

// var db = builder.AddPostgres("sql")
//     .PublishAsConnectionString()
//     .AddDatabase("zyp-test");

var api = builder.AddProject<Projects.NetByDocker>("api");

builder.AddProject<Projects.NetByDocker_Web>("web")
    .WithReference(api);

builder.Build().Run();